package com.day24.exer;

import java.io.*;

public class MyInput {
    public static String readString(){
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String string = "";

        try{
            string = br.readLine();
        }catch (IOException e){
            System.out.println(e);
        }
        return string;
    }

    public static int readInt(){
        return Integer.parseInt(readString());
    }
    public static double readDouble(){
        return Double.parseDouble(readString());
    }
    public static double readByte(){
        return Byte.parseByte(readString());
    }
    public static double readShort(){
        return Short.parseShort(readString());
    }
    public static double readLong(){
        return Long.parseLong(readString());
    }
    public static double readFloat(){
        return Float.parseFloat(readString());
    }
}
